﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000EE1 RID: 3809
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueGambleMachineInfo : IMessage<RogueGambleMachineInfo>, IMessage, IEquatable<RogueGambleMachineInfo>, IDeepCloneable<RogueGambleMachineInfo>, IBufferMessage
	{
		// Token: 0x1700305E RID: 12382
		// (get) Token: 0x0600AAC8 RID: 43720 RVA: 0x001CDC7D File Offset: 0x001CBE7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueGambleMachineInfo> Parser
		{
			get
			{
				return RogueGambleMachineInfo._parser;
			}
		}

		// Token: 0x1700305F RID: 12383
		// (get) Token: 0x0600AAC9 RID: 43721 RVA: 0x001CDC84 File Offset: 0x001CBE84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueGambleMachineInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003060 RID: 12384
		// (get) Token: 0x0600AACA RID: 43722 RVA: 0x001CDC96 File Offset: 0x001CBE96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueGambleMachineInfo.Descriptor;
			}
		}

		// Token: 0x0600AACB RID: 43723 RVA: 0x001CDC9D File Offset: 0x001CBE9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGambleMachineInfo()
		{
		}

		// Token: 0x0600AACC RID: 43724 RVA: 0x001CDCA8 File Offset: 0x001CBEA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGambleMachineInfo(RogueGambleMachineInfo other) : this()
		{
			this.eGPPMMBCKNE_ = other.eGPPMMBCKNE_;
			this.gambleInfo_ = ((other.gambleInfo_ != null) ? other.gambleInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600AACD RID: 43725 RVA: 0x001CDCF4 File Offset: 0x001CBEF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGambleMachineInfo Clone()
		{
			return new RogueGambleMachineInfo(this);
		}

		// Token: 0x17003061 RID: 12385
		// (get) Token: 0x0600AACE RID: 43726 RVA: 0x001CDCFC File Offset: 0x001CBEFC
		// (set) Token: 0x0600AACF RID: 43727 RVA: 0x001CDD04 File Offset: 0x001CBF04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EGPPMMBCKNE
		{
			get
			{
				return this.eGPPMMBCKNE_;
			}
			set
			{
				this.eGPPMMBCKNE_ = value;
			}
		}

		// Token: 0x17003062 RID: 12386
		// (get) Token: 0x0600AAD0 RID: 43728 RVA: 0x001CDD0D File Offset: 0x001CBF0D
		// (set) Token: 0x0600AAD1 RID: 43729 RVA: 0x001CDD15 File Offset: 0x001CBF15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGambleInfo GambleInfo
		{
			get
			{
				return this.gambleInfo_;
			}
			set
			{
				this.gambleInfo_ = value;
			}
		}

		// Token: 0x0600AAD2 RID: 43730 RVA: 0x001CDD1E File Offset: 0x001CBF1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueGambleMachineInfo);
		}

		// Token: 0x0600AAD3 RID: 43731 RVA: 0x001CDD2C File Offset: 0x001CBF2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueGambleMachineInfo other)
		{
			return other != null && (other == this || (this.EGPPMMBCKNE == other.EGPPMMBCKNE && object.Equals(this.GambleInfo, other.GambleInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600AAD4 RID: 43732 RVA: 0x001CDD7C File Offset: 0x001CBF7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EGPPMMBCKNE != 0U)
			{
				num ^= this.EGPPMMBCKNE.GetHashCode();
			}
			if (this.gambleInfo_ != null)
			{
				num ^= this.GambleInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600AAD5 RID: 43733 RVA: 0x001CDDD1 File Offset: 0x001CBFD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600AAD6 RID: 43734 RVA: 0x001CDDD9 File Offset: 0x001CBFD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600AAD7 RID: 43735 RVA: 0x001CDDE4 File Offset: 0x001CBFE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.gambleInfo_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.GambleInfo);
			}
			if (this.EGPPMMBCKNE != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.EGPPMMBCKNE);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600AAD8 RID: 43736 RVA: 0x001CDE40 File Offset: 0x001CC040
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EGPPMMBCKNE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EGPPMMBCKNE);
			}
			if (this.gambleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GambleInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600AAD9 RID: 43737 RVA: 0x001CDE98 File Offset: 0x001CC098
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueGambleMachineInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EGPPMMBCKNE != 0U)
			{
				this.EGPPMMBCKNE = other.EGPPMMBCKNE;
			}
			if (other.gambleInfo_ != null)
			{
				if (this.gambleInfo_ == null)
				{
					this.GambleInfo = new RogueGambleInfo();
				}
				this.GambleInfo.MergeFrom(other.GambleInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600AADA RID: 43738 RVA: 0x001CDF00 File Offset: 0x001CC100
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600AADB RID: 43739 RVA: 0x001CDF0C File Offset: 0x001CC10C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.EGPPMMBCKNE = input.ReadUInt32();
					}
				}
				else
				{
					if (this.gambleInfo_ == null)
					{
						this.GambleInfo = new RogueGambleInfo();
					}
					input.ReadMessage(this.GambleInfo);
				}
			}
		}

		// Token: 0x04004566 RID: 17766
		private static readonly MessageParser<RogueGambleMachineInfo> _parser = new MessageParser<RogueGambleMachineInfo>(() => new RogueGambleMachineInfo());

		// Token: 0x04004567 RID: 17767
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004568 RID: 17768
		public const int EGPPMMBCKNEFieldNumber = 13;

		// Token: 0x04004569 RID: 17769
		private uint eGPPMMBCKNE_;

		// Token: 0x0400456A RID: 17770
		public const int GambleInfoFieldNumber = 5;

		// Token: 0x0400456B RID: 17771
		private RogueGambleInfo gambleInfo_;
	}
}
